func runtime.alignDown
10 uses
runtime (current package)
mem_linux.go#L102: end := alignDown(uintptr(v)+n, physHugePageSize)
mgcscavenge.go#L985: hugePageBelow := uint(alignDown(uintptr(start), pagesPerHugePage))
mpagealloc.go#L177: return int(alignDown(uintptr(lo), e)), int(alignUp(uintptr(hi), e))
mpagealloc.go#L363: base = alignDown(base, pallocChunkBytes)
mpagealloc_64bit.go#L118: baseOffset := alignDown(uintptr(sumIdxBase)*pallocSumBytes, physPageSize)
mpagealloc_64bit.go#L210: needMin := alignDown(uintptr(chunkIndex(base)), physPageSize/scSize)
mpagecache.go#L138: base: chunkBase(ci) + alignDown(uintptr(j), 64)*pageSize,
mpagecache.go#L155: base: alignDown(addr, 64*pageSize),
mranges.go#L89: limit := alignDown(a.limit.addr()-len, uintptr(align))
stubs.go#L429: func alignDown(n, a uintptr) uintptr {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |